cmake_minimum_required(VERSION 3.0)

project(audio_operate)

add_definitions(-std=c++11 -Wall -Wshadow -lpthread)

include_directories(./)

include_directories(/usr/local/include/)
include_directories(./../../util/)

link_directories(/usr/local/lib/)
link_directories(/usr/local/lib64/)

set(lib avutil swscale swresample avcodec avformat avfilter avdevice)

set(SRC_LIST ./)
aux_source_directory(./ SRC_LIST)
aux_source_directory(./../../util/ SRC_LIST)

add_executable(${PROJECT_NAME} ${SRC_LIST})

target_link_libraries(${PROJECT_NAME} ${lib})
